/**
 * Created by douxc on 2015/4/20.
 */
define(function (require, exports, module) {
  'use strict';
  module.exports = function (app) {
    app.register.controller("RegisterCtrl", ["$scope", "$rootScope", function ($scope) {
      $scope.userInfo = {
        username: null,
        password: null,
        repeatPwd: null
      };
      $scope.register = function () {
        console.log($scope.userInfo);
      };
    }]);
  };
});
